Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class TestMode(storage: Storage, isTestEnvironment: Boolean = Companion.isTestEnvironment, getSuperwallProducts: suspend () -> Either<SuperwallProductsResponse, NetworkError> = {
Either.Failure(NetworkError.Unknown())
}, entitlements: Entitlements? = null, activityProvider: () -> ActivityProvider? = { null }, activityTracker: () -> CurrentActivityTracker? = { null }, hasExternalPurchaseController: () -> Boolean = { false }, apiKey: () -> String = { "" }, dashboardBaseUrl: () -> String = { "" }, track: suspend (InternalSuperwallEvent) -> Unit = { })
The single test-mode surface: holds the activation state (products, entitlement selections, settings persistence) AND runs the activation UI flow (activate → refresh products → present modal).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TestModeSessionData
Link copied to clipboard
Link copied to clipboard
class TestModeTransactionHandler(testMode: TestMode, activityProvider: ActivityProvider, activityTracker: CurrentActivityTracker? = null)
Link copied to clipboard